package model

import (
	"time"
)

type AuCollection struct {
	Id            int       `xorm:"not null pk autoincr INT(11)"`
	CollectionNo  string    `xorm:"not null VARCHAR(255)"`
	Status        int       `xorm:"not null TINYINT(1)"`
	PaymentType   int       `xorm:"not null SMALLINT(3)"`
	PaymentMethod int       `xorm:"not null SMALLINT(3)"`
	Amount        float32   `xorm:"not null FLOAT(10,2)"`
	Poundage      float32   `xorm:"not null FLOAT(10,2)"`
	EmpId         int       `xorm:"not null INT(11)"`
	EmpName       string    `xorm:"not null VARCHAR(30)"`
	CreateTime    time.Time `xorm:"not null DATETIME"`
	UpdateTime    time.Time `xorm:"not null DATETIME"`
	Refer         int       `xorm:"not null default 0 SMALLINT(3)"`
	BranchId      int       `xorm:"not null default 0 INT(11)"`
}
